.class Lcom/example/m6shop/NewSalesActivity$9;
.super Ljava/lang/Object;
.source "NewSalesActivity.java"

# interfaces
.implements Landroid/widget/AdapterView$OnItemSelectedListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6shop/NewSalesActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Landroid/widget/AdapterView$OnItemSelectedListener;"
    }
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6shop/NewSalesActivity;


# direct methods
.method constructor <init>(Lcom/example/m6shop/NewSalesActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    .line 262
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemSelected(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 5
    .param p2, "arg1"    # Landroid/view/View;
    .param p3, "arg2"    # I
    .param p4, "arg3"    # J
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView",
            "<*>;",
            "Landroid/view/View;",
            "IJ)V"
        }
    .end annotation

    .prologue
    .local p1, "arg0":Landroid/widget/AdapterView;, "Landroid/widget/AdapterView<*>;"
    const/16 v4, 0x8

    const/4 v3, 0x0

    .line 265
    iget-object v0, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    # getter for: Lcom/example/m6shop/NewSalesActivity;->cities:[Ljava/lang/String;
    invoke-static {}, Lcom/example/m6shop/NewSalesActivity;->access$21()[Ljava/lang/String;

    move-result-object v1

    aget-object v1, v1, p3

    iput-object v1, v0, Lcom/example/m6shop/NewSalesActivity;->card:Ljava/lang/String;

    .line 266
    iget-object v0, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    new-instance v1, Ljava/lang/StringBuilder;

    add-int/lit8 v2, p3, 0x1

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/example/m6shop/NewSalesActivity;->access$22(Lcom/example/m6shop/NewSalesActivity;Ljava/lang/String;)V

    .line 267
    const-string v0, "controltype-----------------------------"

    iget-object v1, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    # getter for: Lcom/example/m6shop/NewSalesActivity;->controltype:Ljava/lang/String;
    invoke-static {v1}, Lcom/example/m6shop/NewSalesActivity;->access$14(Lcom/example/m6shop/NewSalesActivity;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 270
    invoke-virtual {p1, v3}, Landroid/widget/AdapterView;->setVisibility(I)V

    .line 271
    iget-object v0, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    iget-object v0, v0, Lcom/example/m6shop/NewSalesActivity;->card:Ljava/lang/String;

    const-string v1, "\u51cf\u8d39\u7528"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 272
    iget-object v0, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    # getter for: Lcom/example/m6shop/NewSalesActivity;->ll_item1:Landroid/widget/LinearLayout;
    invoke-static {v0}, Lcom/example/m6shop/NewSalesActivity;->access$23(Lcom/example/m6shop/NewSalesActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 273
    iget-object v0, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    # getter for: Lcom/example/m6shop/NewSalesActivity;->tv_item1:Landroid/widget/TextView;
    invoke-static {v0}, Lcom/example/m6shop/NewSalesActivity;->access$24(Lcom/example/m6shop/NewSalesActivity;)Landroid/widget/TextView;

    move-result-object v0

    const-string v1, "\u51cf\u514d\u91d1\u989d"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 274
    iget-object v0, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    # getter for: Lcom/example/m6shop/NewSalesActivity;->et_item1:Landroid/widget/EditText;
    invoke-static {v0}, Lcom/example/m6shop/NewSalesActivity;->access$15(Lcom/example/m6shop/NewSalesActivity;)Landroid/widget/EditText;

    move-result-object v0

    const-string v1, "\u8bf7\u586b\u5199\u91d1\u989d"

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V

    .line 275
    iget-object v0, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    # getter for: Lcom/example/m6shop/NewSalesActivity;->ll_item2:Landroid/widget/LinearLayout;
    invoke-static {v0}, Lcom/example/m6shop/NewSalesActivity;->access$25(Lcom/example/m6shop/NewSalesActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v4}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 277
    :cond_0
    iget-object v0, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    iget-object v0, v0, Lcom/example/m6shop/NewSalesActivity;->card:Ljava/lang/String;

    const-string v1, "\u9001\u8d60\u54c1"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 278
    iget-object v0, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    # getter for: Lcom/example/m6shop/NewSalesActivity;->ll_item1:Landroid/widget/LinearLayout;
    invoke-static {v0}, Lcom/example/m6shop/NewSalesActivity;->access$23(Lcom/example/m6shop/NewSalesActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 279
    iget-object v0, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    # getter for: Lcom/example/m6shop/NewSalesActivity;->ll_item2:Landroid/widget/LinearLayout;
    invoke-static {v0}, Lcom/example/m6shop/NewSalesActivity;->access$25(Lcom/example/m6shop/NewSalesActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 280
    iget-object v0, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    # getter for: Lcom/example/m6shop/NewSalesActivity;->tv_item1:Landroid/widget/TextView;
    invoke-static {v0}, Lcom/example/m6shop/NewSalesActivity;->access$24(Lcom/example/m6shop/NewSalesActivity;)Landroid/widget/TextView;

    move-result-object v0

    const-string v1, "\u8d60\u54c1\u540d\u79f0"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 281
    iget-object v0, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    # getter for: Lcom/example/m6shop/NewSalesActivity;->tv_item2:Landroid/widget/TextView;
    invoke-static {v0}, Lcom/example/m6shop/NewSalesActivity;->access$26(Lcom/example/m6shop/NewSalesActivity;)Landroid/widget/TextView;

    move-result-object v0

    const-string v1, "\u8d60\u54c1\u6570\u91cf"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 282
    iget-object v0, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    # getter for: Lcom/example/m6shop/NewSalesActivity;->et_item1:Landroid/widget/EditText;
    invoke-static {v0}, Lcom/example/m6shop/NewSalesActivity;->access$15(Lcom/example/m6shop/NewSalesActivity;)Landroid/widget/EditText;

    move-result-object v0

    const-string v1, "\u8bf7\u586b\u5199\u8d60\u54c1\u540d\u79f0"

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V

    .line 283
    iget-object v0, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    # getter for: Lcom/example/m6shop/NewSalesActivity;->et_item2:Landroid/widget/EditText;
    invoke-static {v0}, Lcom/example/m6shop/NewSalesActivity;->access$17(Lcom/example/m6shop/NewSalesActivity;)Landroid/widget/EditText;

    move-result-object v0

    const-string v1, "\u8bf7\u586b\u5199\u8d60\u54c1\u6570\u91cf"

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V

    .line 285
    :cond_1
    iget-object v0, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    iget-object v0, v0, Lcom/example/m6shop/NewSalesActivity;->card:Ljava/lang/String;

    const-string v1, "\u514d\u8d39\u914d\u9001"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 286
    iget-object v0, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    # getter for: Lcom/example/m6shop/NewSalesActivity;->ll_item1:Landroid/widget/LinearLayout;
    invoke-static {v0}, Lcom/example/m6shop/NewSalesActivity;->access$23(Lcom/example/m6shop/NewSalesActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v4}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 287
    iget-object v0, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    # getter for: Lcom/example/m6shop/NewSalesActivity;->ll_item2:Landroid/widget/LinearLayout;
    invoke-static {v0}, Lcom/example/m6shop/NewSalesActivity;->access$25(Lcom/example/m6shop/NewSalesActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v4}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 289
    :cond_2
    iget-object v0, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    iget-object v0, v0, Lcom/example/m6shop/NewSalesActivity;->card:Ljava/lang/String;

    const-string v1, "\u6298\u6263"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 290
    iget-object v0, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    # getter for: Lcom/example/m6shop/NewSalesActivity;->ll_item1:Landroid/widget/LinearLayout;
    invoke-static {v0}, Lcom/example/m6shop/NewSalesActivity;->access$23(Lcom/example/m6shop/NewSalesActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 291
    iget-object v0, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    # getter for: Lcom/example/m6shop/NewSalesActivity;->ll_item2:Landroid/widget/LinearLayout;
    invoke-static {v0}, Lcom/example/m6shop/NewSalesActivity;->access$25(Lcom/example/m6shop/NewSalesActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v4}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 292
    iget-object v0, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    # getter for: Lcom/example/m6shop/NewSalesActivity;->tv_item1:Landroid/widget/TextView;
    invoke-static {v0}, Lcom/example/m6shop/NewSalesActivity;->access$24(Lcom/example/m6shop/NewSalesActivity;)Landroid/widget/TextView;

    move-result-object v0

    const-string v1, "\u6298\u6263\u529b\u5ea6"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 293
    iget-object v0, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    # getter for: Lcom/example/m6shop/NewSalesActivity;->et_item1:Landroid/widget/EditText;
    invoke-static {v0}, Lcom/example/m6shop/NewSalesActivity;->access$15(Lcom/example/m6shop/NewSalesActivity;)Landroid/widget/EditText;

    move-result-object v0

    const-string v1, "\u4f8b\uff1a\u5982\u4e5d\u6298\u8bf7\u586b\u51999"

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V

    .line 295
    :cond_3
    return-void
.end method

.method public onNothingSelected(Landroid/widget/AdapterView;)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView",
            "<*>;)V"
        }
    .end annotation

    .prologue
    .line 298
    .local p1, "arg0":Landroid/widget/AdapterView;, "Landroid/widget/AdapterView<*>;"
    iget-object v0, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    iget-object v1, p0, Lcom/example/m6shop/NewSalesActivity$9;->this$0:Lcom/example/m6shop/NewSalesActivity;

    # getter for: Lcom/example/m6shop/NewSalesActivity;->index:Ljava/lang/String;
    invoke-static {v1}, Lcom/example/m6shop/NewSalesActivity;->access$27(Lcom/example/m6shop/NewSalesActivity;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/example/m6shop/NewSalesActivity;->access$22(Lcom/example/m6shop/NewSalesActivity;Ljava/lang/String;)V

    .line 300
    return-void
.end method
